﻿@model GeneralCommonSettingsModel

@{
    //page title
    ViewBag.Title = T("Admin.Configuration.Settings.GeneralCommon").Text;
    //active menu item (system name)
    Html.SetActiveMenuItemSystemName("General settings");
}

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <div class="content-header clearfix">
        <h1 class="pull-left">
            @T("Admin.Configuration.Settings.GeneralCommon")
        </h1>
        <div class="pull-right">
            <button type="submit" name="save" class="btn bg-blue">
                <i class="fa fa-floppy-o"></i>
                @T("Admin.Common.Save")
            </button>
        </div>
    </div>

    

    <div class="content">
        <div class="form-horizontal">
            @Html.Action("SiteScopeConfiguration", "Setting")
            @Html.Action("Mode", "Setting")
            @Html.ValidationSummary(false)

            <div class="panel-group">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.DefaultSiteTheme_OverrideForSite, "theme-selection-block", Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.DefaultSiteTheme)
                            </div>
                            <div class="col-md-9">
                                <div id="theme-selection-block" class="theme-selection-block clearfix">
                                    @foreach (var theme in Model.SiteInformationSettings.AvailableSiteThemes)
                                    {
                                        <div class="checkbox">
                                            <label>
                                                <span>
                                                    <input type="radio" name="@Html.FieldNameFor(x => x.SiteInformationSettings.DefaultSiteTheme)" value="@theme.ThemeName"
                                                           @if (theme.ThemeName == Model.SiteInformationSettings.DefaultSiteTheme) { <text> checked="checked" </text>  }>
                                                    @theme.ThemeTitle
                                                </span>
                                                <img src="@Url.Content(theme.PreviewImageUrl)" alt="@theme.PreviewText" title="@theme.PreviewText">
                                            </label>
                                        </div>
                                    }
                                </div>
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.DefaultSiteTheme)                                
                            </div>
                        </div>
                        <div class="form-group" @(Model.SiteInformationSettings.AvailableSiteThemes.Count == 1 ? Html.Raw("style=\"display:none\"") : null)>
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.AllowUserToSelectTheme_OverrideForSite, model => model.SiteInformationSettings.AllowUserToSelectTheme, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.AllowUserToSelectTheme)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SiteInformationSettings.AllowUserToSelectTheme)
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.AllowUserToSelectTheme)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.LogoPictureId_OverrideForSite, "logo-block", Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.LogoPictureId)
                            </div>
                            <div class="col-md-9" id="logo-block">
                                @Html.ExtEditorFor(model => model.SiteInformationSettings.LogoPictureId)
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.LogoPictureId)
                            </div>
                        </div>                        
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.SiteClosed_OverrideForSite, model => model.SiteInformationSettings.SiteClosed, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.SiteClosed)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SiteInformationSettings.SiteClosed)
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.SiteClosed)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.SubjectFieldOnContactUsForm_OverrideForSite, model => model.SiteInformationSettings.SubjectFieldOnContactUsForm, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.SubjectFieldOnContactUsForm)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SiteInformationSettings.SubjectFieldOnContactUsForm)
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.SubjectFieldOnContactUsForm)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SiteInformationSettings.UseSystemEmailForContactUsForm_OverrideForSite, model => model.SiteInformationSettings.UseSystemEmailForContactUsForm, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SiteInformationSettings.UseSystemEmailForContactUsForm)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SiteInformationSettings.UseSystemEmailForContactUsForm)
                                @Html.ValidationMessageFor(model => model.SiteInformationSettings.UseSystemEmailForContactUsForm)
                            </div>
                        </div>

                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.DefaultTitle_OverrideForSite, model => model.SeoSettings.DefaultTitle, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.DefaultTitle)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.DefaultTitle)
                                @Html.ValidationMessageFor(model => model.SeoSettings.DefaultTitle)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.PageTitleSeoAdjustment_OverrideForSite, model => model.SeoSettings.PageTitleSeoAdjustment, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.PageTitleSeoAdjustment)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtDropDownListFor(model => model.SeoSettings.PageTitleSeoAdjustment, Model.SeoSettings.PageTitleSeoAdjustmentValues)
                                @Html.ValidationMessageFor(model => model.SeoSettings.PageTitleSeoAdjustment)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.PageTitleSeparator_OverrideForSite, model => model.SeoSettings.PageTitleSeparator, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.PageTitleSeparator)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.PageTitleSeparator)
                                @Html.ValidationMessageFor(model => model.SeoSettings.PageTitleSeparator)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.DefaultMetaKeywords_OverrideForSite, model => model.SeoSettings.DefaultMetaKeywords, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.DefaultMetaKeywords)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.DefaultMetaKeywords)
                                @Html.ValidationMessageFor(model => model.SeoSettings.DefaultMetaKeywords)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.DefaultMetaDescription_OverrideForSite, model => model.SeoSettings.DefaultMetaDescription, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.DefaultMetaDescription)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.DefaultMetaDescription)
                                @Html.ValidationMessageFor(model => model.SeoSettings.DefaultMetaDescription)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.EnableJsBundling_OverrideForSite, model => model.SeoSettings.EnableJsBundling, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.EnableJsBundling)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.EnableJsBundling)
                                @Html.ValidationMessageFor(model => model.SeoSettings.EnableJsBundling)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.EnableCssBundling_OverrideForSite, model => model.SeoSettings.EnableCssBundling, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.EnableCssBundling)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.EnableCssBundling)
                                @Html.ValidationMessageFor(model => model.SeoSettings.EnableCssBundling)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.WwwRequirement_OverrideForSite, model => model.SeoSettings.WwwRequirement, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.WwwRequirement)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtDropDownListFor(model => model.SeoSettings.WwwRequirement, Model.SeoSettings.WwwRequirementValues)
                                @Html.ValidationMessageFor(model => model.SeoSettings.WwwRequirement)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.ConvertNonWesternChars_OverrideForSite, model => model.SeoSettings.ConvertNonWesternChars, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.ConvertNonWesternChars)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.ConvertNonWesternChars)
                                @Html.ValidationMessageFor(model => model.SeoSettings.ConvertNonWesternChars)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.CanonicalUrlsEnabled_OverrideForSite, model => model.SeoSettings.CanonicalUrlsEnabled, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.CanonicalUrlsEnabled)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.CanonicalUrlsEnabled)
                                @Html.ValidationMessageFor(model => model.SeoSettings.CanonicalUrlsEnabled)
                            </div>
                        </div>                        
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.OpenGraphMetaTags_OverrideForSite, model => model.SeoSettings.OpenGraphMetaTags, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.OpenGraphMetaTags)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.OpenGraphMetaTags)
                                @Html.ValidationMessageFor(model => model.SeoSettings.OpenGraphMetaTags)
                            </div>
                        </div>
                        <div class="form-group advanced-setting">
                            <div class="col-md-3">
                                @Html.OverrideSiteCheckboxFor(model => model.SeoSettings.CustomHeadTags_OverrideForSite, model => model.SeoSettings.CustomHeadTags, Model.ActiveSiteScopeConfiguration)
                                @Html.ExtLabelFor(model => model.SeoSettings.CustomHeadTags)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SeoSettings.CustomHeadTags)
                                @Html.ValidationMessageFor(model => model.SeoSettings.CustomHeadTags)
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default advanced-setting">
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.AdminAreaAllowedIpAddresses)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.AdminAreaAllowedIpAddresses)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.AdminAreaAllowedIpAddresses)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.ForceSslForAllPages)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.ForceSslForAllPages)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.ForceSslForAllPages)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.EnableXsrfProtectionForAdminArea)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.EnableXsrfProtectionForAdminArea)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.EnableXsrfProtectionForAdminArea)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.EnableXsrfProtectionForPublicSite)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.EnableXsrfProtectionForPublicSite)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.EnableXsrfProtectionForPublicSite)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.HoneypotEnabled)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.HoneypotEnabled)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.HoneypotEnabled)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.EncryptionKey)
                            </div>
                            <div class="col-md-9">
                                <div class="input-group input-group-short">
                                    @Html.ExtEditorFor(model => model.SecuritySettings.EncryptionKey)
                                    <span class="input-group-btn">
                                        <button type="submit" name="changeencryptionkey" id="changeencryptionkey" class="btn btn-info">
                                            @T("Admin.Common.Change")
                                        </button>
                                        @Html.ActionConfirmation("changeencryptionkey")
                                    </span>
                                </div>
                                @Html.ValidationMessageFor(model => model.SecuritySettings.EncryptionKey)
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default advanced-setting">
                    <div class="panel-body">
                        <p>
                            A CAPTCHA is a program that can tell whether its user is a human or a computer.
                            You've probably seen them — colorful images with distorted text at the bottom of
                            Web registration forms. CAPTCHAs are used by many websites to prevent abuse from
                            "bots," or automated programs usually written to generate spam. No computer program
                            can read distorted text as well as humans can, so bots cannot navigate sites protected
                            by CAPTCHAs. The website uses <a href="http://www.google.com/recaptcha" target="_blank">reCAPTCHA</a>.
                        </p>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.CaptchaEnabled)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.CaptchaEnabled)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.CaptchaEnabled)
                            </div>
                        </div>
                        <div class="form-group" id="ssCaptchaShowOnLoginPagepnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.CaptchaShowOnLoginPage)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.CaptchaShowOnLoginPage)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.CaptchaShowOnLoginPage)
                            </div>
                        </div>
                        <div class="form-group" id="ssCaptchaShowOnRegistrationPagepnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.CaptchaShowOnRegistrationPage)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.CaptchaShowOnRegistrationPage)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.CaptchaShowOnRegistrationPage)
                            </div>
                        </div>
                        <div class="form-group" id="ssCaptchaShowOnContactUsPagepnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.CaptchaShowOnContactUsPage)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.CaptchaShowOnContactUsPage)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.CaptchaShowOnContactUsPage)
                            </div>
                        </div>                        
                        <div class="form-group" id="ssCaptchaShowOnNewsCommentPagepnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.CaptchaShowOnNewsCommentPage)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.CaptchaShowOnNewsCommentPage)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.CaptchaShowOnNewsCommentPage)
                            </div>
                        </div>                     
                        <div class="form-group" id="ssReCaptchaVersionpnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.ReCaptchaVersion)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtDropDownListFor(model => model.SecuritySettings.ReCaptchaVersion, Model.SecuritySettings.AvailableReCaptchaVersions)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.ReCaptchaVersion)
                            </div>
                        </div>
                        <div class="form-group" id="ssReCaptchaPublicKeypnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.ReCaptchaPublicKey)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.ReCaptchaPublicKey)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.ReCaptchaPublicKey)
                            </div>
                        </div>
                        <div class="form-group" id="ssReCaptchaPrivateKeypnl">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.SecuritySettings.ReCaptchaPrivateKey)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.SecuritySettings.ReCaptchaPrivateKey)
                                @Html.ValidationMessageFor(model => model.SecuritySettings.ReCaptchaPrivateKey)
                            </div>
                        </div>
                    </div>
                    <script type="text/javascript">
                        $(document).ready(function() {
                            $("#@Html.FieldIdFor(model => model.SecuritySettings.CaptchaEnabled)").click(toggleReCaptcha);
                            toggleReCaptcha();
                        });

                        function toggleReCaptcha() {
                            if ($('#@Html.FieldIdFor(model => model.SecuritySettings.CaptchaEnabled)').is(':checked')) {
                                $('#ssCaptchaShowOnLoginPagepnl').show();
                                $('#ssCaptchaShowOnRegistrationPagepnl').show();
                                $('#ssCaptchaShowOnContactUsPagepnl').show();
                                $('#ssCaptchaShowOnNewsCommentPagepnl').show();
                                $('#ssReCaptchaPublicKeypnl').show();
                                $('#ssReCaptchaPrivateKeypnl').show();
                                $('#ssReCaptchaVersionpnl').show();
                            } else {
                                $('#ssCaptchaShowOnLoginPagepnl').hide();
                                $('#ssCaptchaShowOnRegistrationPagepnl').hide();
                                $('#ssCaptchaShowOnContactUsPagepnl').hide();
                                $('#ssCaptchaShowOnNewsCommentPagepnl').hide();
                                $('#ssReCaptchaPublicKeypnl').hide();
                                $('#ssReCaptchaPrivateKeypnl').hide();
                                $('#ssReCaptchaVersionpnl').hide();
                            }
                        }
                    </script>
                </div>                
                <div class="panel panel-default advanced-setting">
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.LoadAllLocaleRecordsOnStartup)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.LoadAllLocaleRecordsOnStartup)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.LoadAllLocaleRecordsOnStartup)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.LoadAllLocalizedPropertiesOnStartup)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.LoadAllLocalizedPropertiesOnStartup)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.LoadAllLocalizedPropertiesOnStartup)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.LoadAllUrlRecordsOnStartup)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.LoadAllUrlRecordsOnStartup)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.LoadAllUrlRecordsOnStartup)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.UseImagesForLanguageSelection)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.UseImagesForLanguageSelection)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.UseImagesForLanguageSelection)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.SeoFriendlyUrlsForLanguagesEnabled)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.SeoFriendlyUrlsForLanguagesEnabled)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.SeoFriendlyUrlsForLanguagesEnabled)
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-3">
                                @Html.ExtLabelFor(model => model.LocalizationSettings.AutomaticallyDetectLanguage)
                            </div>
                            <div class="col-md-9">
                                @Html.ExtEditorFor(model => model.LocalizationSettings.AutomaticallyDetectLanguage)
                                @Html.ValidationMessageFor(model => model.LocalizationSettings.AutomaticallyDetectLanguage)
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
}